package com.happy.zebra.im.api.feign;

import com.shycloud.mido.common.core.util.R;
import io.rong.models.group.GroupModel;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "zebra-im")
public interface RemoteImService {

	/** 根据用户ID查询所在群组 */
	@GetMapping("/im/getGroupByUserId")
	R<GroupModel[]> getGroupByUserId(@RequestParam("imUserId") String imUserId);

}
